function rest=myconv(upper,lower,kk,u1,u2,m)

rest=0;
for ii=lower:upper
    rest=rest+u1(ii+m+1)*u2(kk-ii+m+1);
end